fix pcx test to check output it generates! (#302)
authortsteven4 <tsteven4@users.noreply.github.com>
Sat, 16 Feb 2019 13:05:31 +0000 (06:05 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Feb 2019 13:05:31 +0000 (06:05 -0700)
testo.d/pcx.test

index 2b75dd4ea208da09cd1492d361389f31ee88c892..32109701830c64a068c61e757bb725c574d26037 100644 (file)
@@ -2,7 +2,7 @@
 rm -f ${TMPDIR}/mm.pcx ${TMPDIR}/pcx.gps
 gpsbabel -i gpx -f ${REFERENCE}/geocaching.gpx -o pcx -F ${TMPDIR}/mm.pcx
 gpsbabel -i pcx -f ${TMPDIR}/mm.pcx -o gpsutil -F ${TMPDIR}/pcx.gps
-compare ${TMPDIR}/mm.gps ${TMPDIR}/gu.wpt
+compare ${REFERENCE}/gu.wpt ${TMPDIR}/pcx.gps
 gpsbabel -t -i gpx -f ${REFERENCE}/track/tracks.gpx -o pcx -F ${TMPDIR}/pcx.trk
 gpsbabel -t -i pcx -f ${REFERENCE}/track/pcx.trk -o pcx -F ${TMPDIR}/pcx2.trk
 compare ${TMPDIR}/pcx.trk ${TMPDIR}/pcx2.trk